package com.lzk.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lzk.domain.ResponseResult;
import com.lzk.domain.entity.Role;

import java.util.List;

public interface RoleService extends IService<Role> {

    List<String> selectRoleKeyByUserId(Long id);

    ResponseResult getRoleList(Role role, Integer pageNum, Integer pageSize);

    ResponseResult getRoleMes(Integer id);

    //修改角色-保存修改好的角色信息
    void updateRole(Role role);

    //新增角色
    void insertRole(Role role);

    List<Role> listAllRole();

    List<Long> selectRoleIdByUserId(Long userId);
}
